import request from '@/utils/request'

/**
 * 
 * @param {百度网盘信息} data 
 * @returns 
 */

export function getNetdiscList(data) {
  return request({
    url: '/baidunetdisk/account',
    method: 'post',
    data
  })
}

/**
 * 
 * @param {百度网盘文件列表} data 
 * @returns 
 */

 export function getNetdiscFileList(data) {
    return request({
      url: '/baidunetdisk/filelist',
      method: 'post',
      data
    })
  }
  

  /**
 * 
 * @param {百度网盘好友列表} data 
 * @returns 
 */

 export function getNetdiscFirendsList(data) {
    return request({
      url: '/baidunetdisk/contacts',
      method: 'post',
      data
    })
  }